package com.guoguo.cloudmusic.ui.common

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.guoguo.cloudmusic.databinding.FragmentFindBinding

/**
 * @author GuoGuo
 * @date 2021/12/20
 */
abstract class BaseFragment : Fragment() {
    open fun initBinding() {}
    override fun onActivityCreated(savedInstanceState: Bundle?) {
        super.onActivityCreated(savedInstanceState)
        initView()
        initData()
        initListener()
        initObserver()
        initBroadcastReceiver()
    }

    open fun initBroadcastReceiver(){}

    open fun initView() {}

    open fun initData() {}

    open fun initListener() {}

    open fun initObserver() {}

}